package com.uniledger.test.model.db;

import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.TypeConverters;

import com.uniledger.test.model.SeeleAdmin;
import com.uniledger.test.model.SeeleAdminDao;

// 数据库注解，必须。entities指定实体类，version指定数据库版本
@Database(entities = {SeeleAdmin.class}, version = 1)
@TypeConverters({Converters.class})
public abstract class SeeleDatabase extends RoomDatabase {

    public abstract SeeleAdminDao adminDao();


}
